#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
typedef int TreeData;
struct TreeNode {
    TreeData val;
    struct TreeNode* left;
    struct TreeNode* right;

};

struct TreeNode* CreateTreeNode(TreeData x)
{
    struct TreeNode* n = (struct TreeNode*)malloc(sizeof(struct TreeNode));
    n->left = NULL;
    n->right = NULL;
    n->val = x;
}
int main()
{
    int ret = 0;
    struct TreeNode* n1 = CreateTreeNode(1);
    struct TreeNode* n3 = CreateTreeNode(2);
    struct TreeNode* n4 = CreateTreeNode(3);

    n1->right = n3;
    n3->left = n4;

    inorderTraversal(n1, &ret);
    return 0;
}